package com.tenglong.teacher.ui.adapter.viewholder;

import android.view.View;
import android.widget.TextView;

import com.tenglong.teacher.R;
import com.tenglong.teacher.data.resultInfo.ClientUserInfo;
import com.tenglong.teacher.ui.adapter.viewholder.base.BaseViewHolder;

/**
 * @author hdx on 2019/5/30.
 */
public class LoginSelectOrganizationTitleViewHolder extends BaseViewHolder<ClientUserInfo> {
    private TextView title;

    public LoginSelectOrganizationTitleViewHolder(View itemView) {
        super(itemView);
        initView();
    }

    private void initView() {
        title = itemView.findViewById(R.id.title);
    }

    @Override
    public void setLayoutInfo(ClientUserInfo info) {
        title.setText(info.selectOrganizationTitle == null?"":info.selectOrganizationTitle);
    }
}
